package com.youngball.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * Created by liaopingzhu on 2016/12/21.
 */
public class LightCommand implements Serializable{
    private static final long serialVersionUID = 1197345911206076654L;

    //区分http调用还是rpc调用
    @JsonIgnore
    private String clienType;

    private int version;

    private String cid;

    private int type;

    private int cmd;

    private int cmdid;

    private List<CommandData> commandDatas;

    private Map data;

    private int resultCode;

    private String resultMessage;

    private String resultData;

    public int getVersion() {
        return version;
    }

    public void setVersion(int version) {
        this.version = version;
    }

    public String getCid() {
        return cid;
    }

    public void setCid(String cid) {
        this.cid = cid;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getCmd() {
        return cmd;
    }

    public void setCmd(int cmd) {
        this.cmd = cmd;
    }

    public int getCmdid() {
        return cmdid;
    }

    public void setCmdid(int cmdid) {
        this.cmdid = cmdid;
    }

    public Map getData() {
        return data;
    }

    public void setData(Map data) {
        this.data = data;
    }

    public int getResultCode() {
        return resultCode;
    }

    public void setResultCode(int resultCode) {
        this.resultCode = resultCode;
    }

    public String getResultMessage() {
        return resultMessage;
    }

    public void setResultMessage(String resultMessage) {
        this.resultMessage = resultMessage;
    }

    public String getResultData() {
        return resultData;
    }

    public void setResultData(String resultData) {
        this.resultData = resultData;
    }

    public List<CommandData> getCommandDatas() {
        return commandDatas;
    }

    public void setCommandDatas(List<CommandData> commandDatas) {
        this.commandDatas = commandDatas;
    }

    public String getClienType() {
        return clienType;
    }

    public void setClienType(String clienType) {
        this.clienType = clienType;
    }
}
